// site.isscloud.project.domain.PjLocationMarker
package site.isscloud.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

/**
 * 空间位置标记对象 pj_location_marker
 */
public class PjLocationMarker {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 空间编码 */
    private String lcCode;

    /** 设备编号 */
    private String deviceNo;

    /** 通道号 */
    private Integer channelNo;

    /** 起始米标 */
    private Integer markerStart;

    /** 结束米标 */
    private Integer markerEnd;

    /** 米标长度 */
    private Integer markerLength;

    /** 状态：1-正常，0-停用 */
    private Integer status;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLcCode() {
        return lcCode;
    }

    public void setLcCode(String lcCode) {
        this.lcCode = lcCode;
    }

    public String getDeviceNo() {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }

    public Integer getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(Integer channelNo) {
        this.channelNo = channelNo;
    }

    public Integer getMarkerStart() {
        return markerStart;
    }

    public void setMarkerStart(Integer markerStart) {
        this.markerStart = markerStart;
    }

    public Integer getMarkerEnd() {
        return markerEnd;
    }

    public void setMarkerEnd(Integer markerEnd) {
        this.markerEnd = markerEnd;
    }

    public Integer getMarkerLength() {
        return markerLength;
    }

    public void setMarkerLength(Integer markerLength) {
        this.markerLength = markerLength;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("lcCode", getLcCode())
                .append("deviceNo", getDeviceNo())
                .append("channelNo", getChannelNo())
                .append("markerStart", getMarkerStart())
                .append("markerEnd", getMarkerEnd())
                .append("markerLength", getMarkerLength())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}